package co.edu.usbcali.sam.modelo.control;

import java.util.List;

import co.edu.usbcali.sam.modelo.Departamentos;
import co.edu.usbcali.sam.modelo.dto.DepartamentosDTO;


/**
* @author Zathura Code Generator http://code.google.com/p/zathura
* www.zathuracode.org
*
*/
public interface IDepartamentosLogic {
    public List<Departamentos> getDepartamentos() throws Exception;

    /**
         * Save an new Departamentos entity
         */
    public void saveDepartamentos(Departamentos entity)
        throws Exception;

    /**
         * Delete an existing Departamentos entity
         *
         */
    public void deleteDepartamentos(Departamentos entity)
        throws Exception;

    /**
        * Update an existing Departamentos entity
        *
        */
    public void updateDepartamentos(Departamentos entity)
        throws Exception;

    /**
         * Load an existing Departamentos entity
         *
         */
    public Departamentos getDepartamentos(Long idDepartamento)
        throws Exception;

    public List<Departamentos> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Departamentos> findPageDepartamentos(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberDepartamentos() throws Exception;

    public List<DepartamentosDTO> getDataDepartamentos()
        throws Exception;
}
